﻿@{
    Layout = null;
    var hobby = ViewBag.Hobby as String[];
}

<h3>@ViewBag.Title</h3>
<ul>
    @ViewBag.数据的名字
    <li>姓名：@ViewBag.Name</li>
    <li>生日：@ViewBag.Birthday</li>
    <li>爱好：@hobby[0] , @hobby[1]</li>
</ul>